
<html>
<head>
    <title>垂直</title>
</head>
<style>
    ul,li{
        list-style: none;
        margin: 0px;
        padding: 0px;
    }
    ul{
        border-radius: 10px;
        width: 200px;
        background-color: darkgray;
        margin: 50px auto;
    }
    li{
    height: 60px;
    text-align: center;
    line-height: 60px;
    border-bottom: 1px dashed white;
}
a{
    color: #000;
    text-decoration: none;
    display: block;
}
a:hover{
    color: white;
    background: red;
}
</style>
<body>
    <div>
        <ul>
            <li><a href="#">热点新闻</a></li>
            <li><a href="#">图片新闻</a></li>
            <li><a href="#">视频点播</a></li>
            <li><a href="#">体育赛事</a></li>
            <li><a href="#">娱乐八卦</a></li>
        </ul>
    </div>
</body>
</html>